﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Log4Net.Lib;
using Log4Net.Web;
using Log4Net.Web.Utility;

namespace Log4Net.Web
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Manager manager = new Manager();

            manager.TestManager();
            //TestWebLog();
            //Logger.LogInfo("This Info from Web manager");
            Logger.LogWarn("This Warn from Web manager");
            
        }

        private void TestWebLog()
        {
            try
            {
                string s = null;
                if (s.Equals("Leon"))
                {
                    s = string.Empty;
                } 
            }
            catch (Exception exception)
            {
                Logger.LogThis(exception);
            }
        }


    }
}
